﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Dtos.Remotes.Request;
/// <summary>
/// 任务完成
/// </summary>
[ProtoContract]
public class FmsJobCompleteRequest
{
    [ProtoMember(1)]
    public string TaskNumberId { get; set; }
    [ProtoMember(2)]
    public string TaskNumberId2 { get; set; }

    /// <summary>
    /// 获取Key
    /// </summary>
    /// <returns></returns>
    public string GetKey()
    {
        return $"{TaskNumberId??""}-{TaskNumberId2 ?? ""}";
    }
}
